/*
 * Projeto: Exemplo Starter Kit Freescale
 * autor: Evandro Teixeira/Silvio
 */
#include <hidef.h>		 /* for EnableInterrupts macro */
#include "derivative.h"  /* include peripheral declarations */
#define  LED0 PTCD_PTCD6
#define  LED1 PTFD_PTFD7
 
#ifdef __cplusplus
extern "C"
#endif
 
unsigned int i = 0;
void MCU_init(void); /* Device initialization function declaration */
void main(void) 
{
  MCU_init();	/* call Device Initialization */
  for(;;)
  {
	 LED0 =~ LED0;  
	 for(i=0;i<1000;i++);
	 LED1 =~ LED1;
  }  
  /* __RESET_WATCHDOG(); By default COP is disabled with device init. When enabling, also reset the watchdog. */
  /* loop forever */
  /* please make sure that you never leave main */
}
